package com.xmy.cultivate.excel;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.xmy.cultivate.converter.LocalDateConverter;
import com.xmy.cultivate.enums.StatusSchedulingEnum;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

@Data
public class CourseSchedulingDetailExcel {
    @ExcelProperty(index = 2,value = "班级")
    private String gradeName;

    @ExcelProperty(index = 0,value = "上课日期",converter = LocalDateConverter.class)
    private LocalDate schoolDate;

    @ExcelProperty(index = 1,value = "上课时段")
    @TableField(exist = false)
    private String time;

    @ExcelProperty(index = 4,value = "上课教师")
    private String teacherName;

    @ExcelProperty(index = 3,value = "所属课程")
    private String courseName;

    @ExcelProperty(index = 5,value = "上课类型")
    private String statusStr;

    @ExcelProperty(index = 6,value = "应到")
    private Integer shouldCount;

}
